package top.lvkun.user.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import top.lvkun.basic.mapper.BaseMapper;
import top.lvkun.user.domain.WxUser;
@Component
public interface WxUserMapper extends BaseMapper<WxUser>{

    WxUser findByOpenidAndUnionid(@Param("openid") String openid,@Param("unionid") String unionid);

    WxUser loadByUserId(Long id);
}
